<html>

<head>
<meta name=标题 content="">
<meta name=关键词 content="">
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 15 (filtered)">
<style>
<!--
 /* Font Definitions */
@font-face
	{font-family:"Courier New";
	panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
	{font-family:Times;
	panose-1:0 0 5 0 0 0 0 2 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:DengXian;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"\@DengXian";}
@font-face
	{font-family:"Microsoft YaHei";
	panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
	{font-family:Menlo;
	panose-1:2 11 6 9 3 8 4 2 2 4;}
@font-face
	{font-family:"\@Microsoft YaHei";}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	font-size:12.0pt;
	font-family:DengXian;}
code
	{font-family:Courier;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	text-indent:21.0pt;
	font-size:12.0pt;
	font-family:DengXian;}
p.a, li.a, div.a
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	line-height:200%;
	font-size:12.0pt;
	font-family:"Microsoft YaHei";}
.MsoChpDefault
	{font-family:DengXian;}
 /* Page Definitions */
@page WordSection1
	{size:595.0pt 842.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	layout-grid:15.6pt;}
div.WordSection1
	{page:WordSection1;}
 /* List Definitions */
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
-->
</style>

</head>

<body lang=ZH-CN style='text-justify-trim:punctuation'>

<div class=WordSection1 style='layout-grid:15.6pt'>

<p class=MsoNormal style='line-height:200%'><b><span lang=EN-US
style='font-size:14.0pt;line-height:200%;font-family:"Microsoft YaHei"'>eject</span></b></p>

<p class=MsoNormal align=left style='margin-bottom:12.0pt;text-align:left;
text-indent:21.0pt;line-height:200%;text-autospace:none'><span lang=EN-US
style='font-family:"Microsoft YaHei";color:black;vertical-align:sub'>eject</span><span
style='font-family:"Microsoft YaHei";color:black;vertical-align:sub'>指令允许在软件控制下弹出可移动媒体<span
lang=EN-US>(</span>通常是光盘、软盘、磁带或<span lang=EN-US>Jaz</span>或<span lang=EN-US>ZIP</span>磁盘<span
lang=EN-US>)</span>。该命令还可以控制一些由某些设备支持的自动弹出功能的多光盘转换器，并关闭一些光盘驱动器的盘。</span></p>

<p class=MsoNormal align=left style='margin-bottom:12.0pt;text-align:left;
text-indent:21.0pt;line-height:200%;text-autospace:none'><span
style='font-family:"Microsoft YaHei";color:black;vertical-align:sub'>对应于<span
lang=EN-US>&lt;name&gt;</span>的设备被弹出。名称可以是一个设备文件或挂载点，可以是一个完整的路径，也可以是前面省略的<span
lang=EN-US>“/dev”</span>、<span lang=EN-US>“/media”</span>或<span lang=EN-US>“/mnt”</span>。如果未指定名称，则使用默认名称<span
lang=EN-US>“cdrom”</span>。</span></p>

<p class=MsoNormal align=left style='margin-bottom:12.0pt;text-align:left;
text-indent:21.0pt;line-height:200%;text-autospace:none'><span
style='font-family:"Microsoft YaHei";color:black;vertical-align:sub'>根据设备是<span
lang=EN-US>CD ROM</span>、<span lang=EN-US>SCSI</span>设备、可移动软盘还是磁带，有四种不同的弹出方法。默认情况下，弹出将按顺序尝试所有四种方法，直到成功为止。如果该设备目前已安装，则在弹出前将其卸载。</span></p>

<p class=MsoNormal align=left style='margin-bottom:12.0pt;text-align:left;
text-indent:21.0pt;line-height:200%;text-autospace:none'><span
style='font-family:"Microsoft YaHei";color:black;vertical-align:sub'>此命令的适用范围：<span
lang=EN-US>RedHat</span>、<span lang=EN-US>RHEL</span>、<span lang=EN-US>Ubuntu</span>、<span
lang=EN-US>CentOS</span>、<span lang=EN-US>SUSE</span>、<span lang=EN-US>openSUSE</span>、<span
lang=EN-US>Fedora</span>。</span></p>

<p class=MsoNormal style='line-height:200%'><b><span lang=EN-US
style='font-family:"Microsoft YaHei"'>1</span></b><b><span style='font-family:
"Microsoft YaHei"'>、语法</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  -h</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vnrsfmqp]  [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -d</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -a  on|off|1|0  [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -c  slot  [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -i  on|off|1|0  [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -t  [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -T  [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -x  &lt;speed&gt;
 [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  [-vn]  -X  [&lt;name&gt;]</span></b></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><b><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject  -V</span></b></p>

<p class=MsoNormal style='line-height:200%'><b><span lang=EN-US
style='font-family:"Microsoft YaHei"'>&nbsp;</span></b></p>

<p class=MsoNormal style='line-height:200%'><b><span lang=EN-US
style='font-family:"Microsoft YaHei"'>2</span></b><b><span style='font-family:
"Microsoft YaHei"'>、选项列表</span></b></p>

<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 width="95%"
 style='width:95.0%;margin-left:24.1pt;border-collapse:collapse;border:none'>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  background:#E7E6E6;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>选项</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border:solid windowtext 1.0pt;
  border-left:none;background:#E7E6E6;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>说明</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-h | --help</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>显示简单的帮助文档</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-V | --version</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>显示命令版本信息，然后退出</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-v | --verbose</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>执行指令的时候显示详细信息，可以在命令行看到指令在干什么
  </span></p>
  </td>
 </tr>
 <tr style='height:21.15pt'>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-d | --default</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal><span style='font-family:"Microsoft YaHei";color:black'>显示默认的设备名字（<span
  lang=EN-US>cdrom</span>）</span></p>
  </td>
 </tr>
 <tr style='height:21.15pt'>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-a on|1|off|0</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal><span style='font-family:"Microsoft YaHei";color:black'>这个选项控制自动弹出模式，只有某些设备才支持。如果是能这个开关，设备在关闭的时候会自动弹出。</span></p>
  </td>
 </tr>
 <tr style='height:21.15pt'>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-c &lt;slot&gt; | --changerslot</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal><span style='font-family:"Microsoft YaHei";color:black'>使用此选项，可以从<span
  lang=EN-US>ATAPI/IDE CD-ROM</span>转换器中选择<span lang=EN-US>CD</span>插槽。使用此特性需要<span
  lang=EN-US>Linux2.0</span>或更高版本。当一个更改请求工作的时候，无法使用<span lang=EN-US>CD-ROM</span>驱动器<span
  lang=EN-US>(</span>挂载的数据<span lang=EN-US>CD</span>或播放音乐<span lang=EN-US>CD)</span>。还请注意，转换器的第一个插槽称为<span
  lang=EN-US>0</span>，而不是<span lang=EN-US>1</span>。</span></p>
  </td>
 </tr>
 <tr style='height:21.15pt'>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-i on|1|off|0</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal><span style='font-family:"Microsoft YaHei";color:black'>此选项可以锁定弹出按钮，使其不工作。当启用时，当按下按钮时，驱动器将不会弹出。这是有用的，当您携带笔记本电脑在一个袋子或箱子，不希望它弹出，如果该按钮是无意中按下。</span></p>
  </td>
 </tr>
 <tr style='height:21.15pt'>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-t | --trayclose</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal><span style='font-family:"Microsoft YaHei";color:black'>有了这个选项，驱动器被赋予一个<span
  lang=EN-US>CD-ROM</span>托盘关闭命令。并非所有设备都支持此命令。</span></p>
  </td>
 </tr>
 <tr style='height:21.15pt'>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-T | --traytoggle</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:21.15pt'>
  <p class=MsoNormal><span style='font-family:"Microsoft YaHei";color:black'>如果<span
  lang=EN-US>CD-ROM</span>托盘已经打开，那么它将关闭；如果<span lang=EN-US>CD-ROM</span>托盘已经关闭，那么它将弹出。并非所有设备都支持此命令，因为它使用了上面的<span
  lang=EN-US>CD-ROM</span>托盘关闭命令。</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-x &lt;speed&gt; | --cdspeed</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>使用此选项，<span
  lang=EN-US>CDROM</span>驱动器可以进行选择速度。速度参数是一个指示所需速度的数字<span lang=EN-US>(</span>例如，<span
  lang=EN-US>8</span>表示<span lang=EN-US>8X</span>速度<span lang=EN-US>)</span>，或<span
  lang=EN-US>0</span>表示最大数据速率。并非所有设备都支持此命令，而且您只能指定驱动器能够达到的速度。每次媒体更改时，此选项将被清除。此选项可以单独使用，也可以与<span
  lang=EN-US>-t</span>和<span lang=EN-US>-c</span>选项一起使用。</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-X | --listspeed</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>显示<span
  lang=EN-US>cdrom</span>的可用速度。使用此选项，将探测<span lang=EN-US>CD-ROM</span>驱动器以检测可用的速度。输出一个速度列表，可用作<span
  lang=EN-US>-x</span>选项的参数。这只适用于<span lang=EN-US>Linux2.6.13</span>或更高版本，在以前的版本上只报告最高速度。还请注意，某些驱动器可能无法正确报告速度，因此选项不适用于它们。</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-n | --noop</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>显示所选的设备，但是不执行任何操作</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-r | --cdrom</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出<span
  lang=EN-US> cdrom</span>设备</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-s | --scsi</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出<span
  lang=EN-US>SCSI</span>设备</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-f | --floppy</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出<span
  lang=EN-US> floppy</span>设备</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-q | --tape</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出
  磁带设备</span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-p | --proc</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>允许使用<span
  lang=EN-US>/proc/mounts</span>代替<span lang=EN-US>/etc/mtab</span></span></p>
  </td>
 </tr>
 <tr>
  <td width="28%" valign=top style='width:28.58%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>-m | --no-umount</span></p>
  </td>
  <td width="71%" valign=top style='width:71.42%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>此选项允许<span
  lang=EN-US>eject</span>与自动挂载可移动媒体的设备驱动程序一起工作，因此这些设备必须总是已挂载的。该选项告诉<span
  lang=EN-US>eject</span>不要尝试卸载给定的设备，即使它是根据<span lang=EN-US>/etc/mtab</span>或<span
  lang=EN-US>/proc/</span>挂载安装的。</span></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>&nbsp;</span></p>

<p class=MsoNormal style='line-height:200%'><b><span lang=EN-US
style='font-family:"Microsoft YaHei"'>3</span></b><b><span style='font-family:
"Microsoft YaHei"'>、<span lang=EN-US>example</span></span></b></p>

<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 width="95%"
 style='width:95.0%;margin-left:24.1pt;border-collapse:collapse;border:none'>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  background:#E7E6E6;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>功能</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border:solid windowtext 1.0pt;
  border-left:none;background:#E7E6E6;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>指令</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出默认设备</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出一个名字为<span
  lang=EN-US>cdrom</span>的设备或者挂载点</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject cdrom</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>使用设备名来弹出</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject /dev/cdrom</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>使用挂载点弹出</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject /mnt/cdrom</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出第<span
  lang=EN-US>4</span>个<span lang=EN-US>IDE</span>设备</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject hdd</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>弹出第一个<span
  lang=EN-US>SCSI</span>设备</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject sda</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>使用<span
  lang=EN-US>SCSI</span>分区名称弹出</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject sda4</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>在多盘交换机上选择第<span
  lang=EN-US>5</span>盘</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject –v –c4 /dev/cdrom</span></p>
  </td>
 </tr>
 <tr>
  <td width="47%" valign=top style='width:47.08%;border:solid windowtext 1.0pt;
  border-top:none;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span style='font-family:"Microsoft YaHei"'>打开声音放映机<span
  lang=EN-US>CD-ROM</span>上的自动弹出功能</span></p>
  </td>
  <td width="52%" valign=top style='width:52.92%;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='line-height:200%'><span lang=EN-US
  style='font-family:"Microsoft YaHei"'>eject –a on /dev/sbpcd</span></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>&nbsp;</span></p>

<p class=MsoNormal style='line-height:200%'><b><span lang=EN-US
style='font-family:"Microsoft YaHei"'>4</span></b><b><span style='font-family:
"Microsoft YaHei"'>、说明</span></b></p>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>     eject</span><span style='font-family:"Microsoft YaHei"'>指令执行成功之后会返回<span
lang=EN-US>0</span>，如果失败就返回<span lang=EN-US>1</span>。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject</span><span
style='font-family:"Microsoft YaHei"'>指令只适用于支持四种弹出方法中的一种或多种方法的设备。这包括大多数光盘驱动器<span
lang=EN-US>(IDE</span>、<span lang=EN-US>SCSI</span>和专有<span lang=EN-US>)</span>、一些<span
lang=EN-US>SCSI</span>磁带驱动器、<span lang=EN-US>Jaz</span>驱动器、<span lang=EN-US>ZIP</span>驱动器<span
lang=EN-US>(</span>并行口、<span lang=EN-US>SCSI</span>和<span lang=EN-US>IDE</span>版本<span
lang=EN-US>)</span>和<span lang=EN-US>LS 120</span>可移动软盘。用户还报告说，在<span
lang=EN-US>Sun SPARC</span>和<span lang=EN-US>Apple Macintosh</span>系统上，软盘驱动器也取得了成功。如果弹出无法工作，很可能是对设备的内核驱动程序的限制，而不是弹出程序本身的限制。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
lang=EN-US style='font-family:"Microsoft YaHei"'>-r</span><span
style='font-family:"Microsoft YaHei"'>、<span lang=EN-US>-s</span>、<span
lang=EN-US>-f</span>和<span lang=EN-US>-q</span>选项允许控制用于弹出的方法。可以指定多个方法。如果没有指定这些选项，则会尝试所有四个选项<span
lang=EN-US>(</span>在大多数情况下，这很好<span lang=EN-US>)</span>。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
lang=EN-US style='font-family:"Microsoft YaHei"'>eject</span><span
style='font-family:"Microsoft YaHei"'>并不总是能够确定设备是否已安装<span lang=EN-US>(</span>例如，它是否有多个名称<span
lang=EN-US>)</span>。如果设备名称是一个符号链接，弹出将跟随该链接并使用它所指向的设备。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
style='font-family:"Microsoft YaHei"'>如果<span lang=EN-US>eject</span>确定该设备可以具有多个分区，则它将尝试在弹出之前卸载该设备的所有已安装分区。如果卸载失败，程序将不会尝试弹出媒体。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
style='font-family:"Microsoft YaHei"'>你可以弹出一张音频<span lang=EN-US>CD</span>。如果驱动器是空的，一些<span
lang=EN-US>CDROM</span>将拒绝打开托盘。有些设备不支持托盘关闭命令。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
style='font-family:"Microsoft YaHei"'>如果启用了自动弹出功能，则在运行此命令后，驱动器将始终弹出。并不是所有的<span
lang=EN-US>linux</span>内核<span lang=EN-US>CDROM</span>驱动程序都支持自动弹出模式，无法找到自动弹出模式的状态。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
style='font-family:"Microsoft YaHei"'>您需要适当的权限才能访问设备文件。要弹出某些设备<span lang=EN-US>(</span>例如<span
lang=EN-US>SCSI</span>设备<span lang=EN-US>)</span>，需要以<span lang=EN-US>root</span>或<span
lang=EN-US>setuidroot</span>的形式运行。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
style='font-family:"Microsoft YaHei"'>用于查找设备的启发式方法<span lang=EN-US>(</span>给定名称<span
lang=EN-US>)</span>如下所示。如果名称以尾随斜杠结尾，则删除它<span lang=EN-US>(</span>这是为了支持使用<span
lang=EN-US>shell</span>文件名完成生成的文件名<span lang=EN-US>)</span>。如果名称以<span
lang=EN-US>“.”</span>或<span lang=EN-US>“/”</span>开头，则尝试将其作为设备文件或挂载点打开。如果失败，它会尝试将<span
lang=EN-US>‘/dev/’</span>、<span lang=EN-US>‘/media/’</span>、<span lang=EN-US>‘/mnt/’</span>、<span
lang=EN-US>‘/dev/cdroms’</span>、<span lang=EN-US>‘/dev/rdsk/’</span>、<span
lang=EN-US>‘/dev/dsk/’</span>和最后<span lang=EN-US>‘./’</span>放在名称前面，直到找到可以打开的设备文件或挂载点。安装设备的程序检查<span
lang=EN-US>/etc/mtab</span>。如果失败，它还会检查<span lang=EN-US>/etc/fSTAB</span>以查找当前未挂载设备的挂载点。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
style='font-family:"Microsoft YaHei"'>建议创建符号链接，如<span lang=EN-US>/dev/cdrom</span>或<span
lang=EN-US>/dev/zip</span>，以便<span lang=EN-US>eject</span>可以使用容易记住的名称来确定合适的设备。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
style='font-family:"Microsoft YaHei"'>要保存类型，可以为特定设置工作的弹出选项创建<span lang=EN-US>shell</span>别名。</span></p>

<p class=MsoNormal style='text-indent:21.0pt;line-height:200%'><span
lang=EN-US style='font-family:"Microsoft YaHei"'>&nbsp;</span></p>

<p class=MsoNormal style='line-height:200%'><b><span lang=EN-US
style='font-family:"Microsoft YaHei"'>5</span></b><b><span style='font-family:
"Microsoft YaHei"'>、实例</span></b></p>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>     1</span><span style='font-family:"Microsoft YaHei"'>）没有指定设备类型，直接弹出<span
lang=EN-US>cdrom</span>。此种情况下会依次尝试所有的方式，直到弹出为止。</span></p>

<table class=a0 border=1 cellspacing=0 cellpadding=0 width="95%"
 style='width:95.0%;margin-left:24.1pt;border-collapse:collapse;border:none'>
 <tr style='height:14.9pt'>
  <td width=836 valign=top style='width:836.15pt;border:solid windowtext 1.0pt;
  background:#E7E6E6;padding:0cm 5.4pt 0cm 5.4pt;height:14.9pt'>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>[root@localhost
  ~]# <b>eject </b></span></code><code><b><span lang=EN-US style='font-size:
  10.0pt;line-height:200%;font-family:Helvetica'>–</span></b></code><code><b><span
  lang=EN-US style='font-size:10.0pt;line-height:200%;font-family:Menlo'>v    
  //</span></b></code><code><b><span style='font-size:10.0pt;line-height:200%;
  font-family:DengXian'>使用</span></b></code><code><b><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>-v</span></b></code><code><b><span
  style='font-size:10.0pt;line-height:200%;font-family:DengXian'>来显示指令执行的过程</span></b></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: using
  default device `cdrom'</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: device
  name is `cdrom'</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: expanded
  name is `/dev/cdrom'</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject:
  `/dev/cdrom' is a link to `/dev/sr0'</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: `/dev/sr0'
  is not mounted</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: `/dev/sr0'
  is not a mount point</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: checking
  if device &quot;/dev/sr0&quot; has a removable or hotpluggable flag</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: `/dev/sr0'
  is not a multipartition device</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: trying to
  eject `/dev/sr0' using CD-ROM eject command <b> //</b></span></code><code><b><span
  style='font-size:10.0pt;line-height:200%;font-family:DengXian'>尝试第一种弹出方式</span></b></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: CD-ROM
  eject command failed</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: trying to
  eject `/dev/sr0' using SCSI commands   <b>//</b></span></code><code><b><span
  style='font-size:10.0pt;line-height:200%;font-family:DengXian'>尝试第二种弹出方式</span></b></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: SCSI eject
  succeeded</span></code></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>     2</span><span style='font-family:"Microsoft YaHei"'>）使用“<span
lang=EN-US>-r</span>”选项，弹出<span lang=EN-US>cdrom</span></span></p>

<table class=a0 border=1 cellspacing=0 cellpadding=0 width="95%"
 style='width:95.0%;margin-left:24.1pt;border-collapse:collapse;border:none'>
 <tr style='height:14.9pt'>
  <td width=836 valign=top style='width:836.15pt;border:solid windowtext 1.0pt;
  background:#E7E6E6;padding:0cm 5.4pt 0cm 5.4pt;height:14.9pt'>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>[root@localhost
  ~]#<b> mount    //</b></span></code><code><b><span style='font-size:10.0pt;
  line-height:200%;font-family:DengXian'>查看是否有光盘挂载</span></b></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>/dev/mapper/VolGroup-lv_root
  on / type ext4 (rw)</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Helvetica'>…</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><b><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>/dev/sr0 on
  /media/VBox_GAs_5.2.16 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=0,gid=0,iocharset=utf8,mode=0400,dmode=0500)</span></b></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>&nbsp;</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>[root@localhost
  ~]# <b>eject -v </b></span></code><code><b><span lang=EN-US style='font-size:
  10.0pt;line-height:200%;font-family:Helvetica'>–</span></b></code><code><b><span
  lang=EN-US style='font-size:10.0pt;line-height:200%;font-family:Menlo'>r   
  //</span></b></code><code><b><span style='font-size:10.0pt;line-height:200%;
  font-family:DengXian'>弹出光盘</span></b></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: using
  default device `cdrom'</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Helvetica'>…</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: trying to
  eject `/dev/sr0' using CD-ROM eject command</span></code></p>
  <p class=MsoNormal style='line-height:200%'><code><b><span lang=EN-US
  style='font-size:10.0pt;line-height:200%;font-family:Menlo'>eject: CD-ROM
  eject command succeeded</span></b></code></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>&nbsp;</span></p>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>&nbsp;</span></p>

<p class=MsoNormal style='line-height:200%'><span lang=EN-US style='font-family:
"Microsoft YaHei"'>&nbsp;</span></p>

<p class=MsoNormal align=center style='text-align:center;line-height:200%'><span
lang=EN-US style='font-family:"Microsoft YaHei"'>Copyright@david 
zhytwj2018@163.com</span></p>

</div>

</body>

</html>
